/**
 * PassiveGossipThreadInterface.java
 * ************************** 
 * @date Apr 6, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package gossipServices.gossipThread;

/**
 * Description:
 * Interface specific to passive threads of a gossip
 * protocol schema. 
 * All classes implementing this interface expose the 
 * passiveThreadIntructions() that contains all the 
 * instructions need by the active part of the gossip
 * algorithm.
 * 
 * This interface is supposed to substitute the 
 * ActiveGossipThread class in case the building
 * class is just extending a different one.
 *
 */
public interface PassiveGossipThreadInterface 
	extends Runnable, GossipThreadInterface, GossipThreadsInstructions {
	
	/**
	 * Contains all the need instruction of the passive thread
	 * of the gossip protocol.
	 * @throws InterruptedException
	 */
	public void passiveThreadInstructions() throws InterruptedException;

}
